﻿


class MsgHeartAliveReq : BaseProtocol
{
    public string RunningTime = "";

    public override int ProtocolID
    {
        get
        {
            return (int)ProtocolIDEnum.MsgHeartAliveReq;
        }
    }
    /// <summary>
    /// Client
    /// </summary>
    protected override void WriteParams()
    {
        Write(RunningTime,20);
    }
    /// <summary>
    /// Server
    /// </summary>
    protected override void ReadParams()
    {
        RunningTime = ReadString(20);
    }
}

